/* ==================
          布局
 ==================== */

/*  -- flex弹性布局 -- */

.flex {
	display: flex;
}
/* basis */
.basis-xs {
	flex-basis: 20%;
}

.basis-sm {
	flex-basis: 40%;
}

.basis-df {
	flex-basis: 50%;
}

.basis-lg {
	flex-basis: 60%;
}

.basis-xl {
	flex-basis: 80%;
}

.flex-sub {
	flex: 1;
}

.flex-twice {
	flex: 2;
}

.flex-treble {
	flex: 3;
}

.flex-direction {
	flex-direction: column;
}
.flex-direction-row-reverse{
	flex-direction: row-reverse;
}
.flex-wrap {
	flex-wrap: wrap;
}

.align-start {
	align-items: flex-start;
}

.align-end {
	align-items: flex-end;
}

.align-center {
	align-items: center;
}

.align-stretch {
	align-items: stretch;
}

.self-start {
	align-self: flex-start;
}

.self-center {
	align-self: flex-center;
}

.self-end {
	align-self: flex-end;
}

.self-stretch {
	align-self: stretch;
}

/* .align-stretch {
	align-items: stretch;
} */

.justify-start {
	justify-content: flex-start;
}

.justify-end {
	justify-content: flex-end;
}

.justify-center {
	justify-content: center;
}

.justify-between {
	justify-content: space-between;
}

.justify-around {
	justify-content: space-around;
}



.flex-ss{
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
}
.flex-sc{
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
.flex-sb{
	display: flex;
	justify-content: flex-start;
	align-content: space-between;
}


.flex-bc{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.flex-be{
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
.flex-cc{
	display: flex;
	justify-content: center;
	align-items: center;
}
.flex-ec{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

